package com.ideal.manage.esms.bean.project.bo;

import java.util.Date;

/**
 * Created by admin on 2018/9/24.
 */
public class UserInfoRecordBO implements Comparable<UserInfoRecordBO>{

    private Date time;
    private String name;
    private String content;
    private String href;

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public int compareTo(UserInfoRecordBO o) {
        return o.getTime().compareTo(this.time);
    }
}
